<?php


class template_content_article_detail extends theme
{

	protected function head()
	{
	?>
<link type="text/css" rel="stylesheet" href="apps/content/templates/article/css/detail.css">
	<?php
	}


	public function center()
	{
	$article = $this->get('article');
	?>
<div class="center-title"><?php echo $article->title; ?></div>
<div class="center-body">
	<div class="article-body"><?php echo $article->body; ?></div>
	<p class="article-info"><?php echo '发表时间: '.date('Y-m-d H:i', $article->create_time).' &nbsp; 访问量:'.$article->hits.' &nbsp; 作者: '.bone::get_user($article->create_by_id)->name; ?></p>
</div>
	<?php
	}

}
?>